home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
NEWREC.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
1KB
|
45 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_NewRec( lNewRec_DateStamp ) --> lAppendStatus
PARAMETERS:
lNewRec_DateStamp : TRUE = Date Stamp record if possible
FALSE = No date stamp, even if possible (DEFAULT)
SHORT:
Append a new record to the current database, optionally with date/time stamp.
DESCRIPTION:
_NewRec() is a general purpose record appending function.
The only difference between this and a straight APPEND BLANK is that this
function will date/time stamp the record *IF* it has fields called
ADD_DATE,D,8,0 and ADD_TIME,C,8,0 *AND* lNewRec_DateStamp = TRUE.
This can be disabled by passing a logical FALSE as an argument to the
function:
_NewRec(FALSE) appends a new record and does NOT date/time stamp it even if
it DOES have the Add_Date/Add_Time fields.
Returns: TRUE if record is appended, else FALSE.
NOTE:
EXAMPLE:
_NewRec() // new record appended, no stamp even if fields present
_NewRec(.T.) // new record appended, date stamp if fields present
******************************************************************************/